<?php

namespace App\VO\Usercenter;

use App\VO\Interfaces\IVODetail;

class VODetail implements IVODetail
{
    public $user = [];
    // public $distributors = [];
    // public $advertImage = [];
    public $tel = '';
    public $availableCardCount = 0;

    public function __construct($data)
    {
        $this->user = $data['user'] ?? [];
        // $this->distributors = $data['distributors'] ?? [];
        // $this->advertImage = $data['advertImage'] ?? [];
        $this->tel = $data['tel'] ?? '';
        $this->availableCardCount = $data['available_convertiblecard_count'] ?? 0;
    }
}
